﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Ocean.His.MedicalInsurance.Data
{
    public interface IMedicalInsurance
    {
        Tuple<int, string> Init(InitRequestModel initRequestModel);

        /// <summary>
        /// 签到
        /// </summary>
        /// <param name="ip"></param>
        /// <param name="mac"></param>
        /// <param name="userId"></param>
        /// <returns></returns>
        Tuple<int, string> SignIn(string ip, string mac, string userId);

        /// <summary>
        /// 签退
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        Tuple<int, string> SignOut(string userId);

        /// <summary>
        /// 医保交互
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="requestModel"></param>
        /// <returns></returns>
        Tuple<int, string> SiPost<T>(T requestModel);
    }
}
